package com.adk.backend.mapper;

import com.adk.backend.entity.LxLoadingDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 装车单明细Mapper接口
 */
@Mapper
public interface LoadingDetailsMapper extends BaseMapper<LxLoadingDetails> {
    
    /**
     * 根据发货单ID查询装车明细
     */
    LxLoadingDetails selectBySlId(@Param("slId") Long slId);
    
    /**
     * 根据订单ID查询装车明细
     */
    LxLoadingDetails selectByOrderId(@Param("orderId") Long orderId);
}

